package com.cskaoyan.bean.data;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

@NoArgsConstructor
@Data
public class OrderListData {
    private String orderStatusText;
    private Short aftersaleStatus;
    private Boolean isGroupin = false;
    private String orderSn;
    private BigDecimal actualPrice;
    private List<GoodsList> goodsList;
    private Integer id;
    private HandleOption handleOption;

    @NoArgsConstructor
    @Data
    public static class HandleOption {
        private Boolean cancel = false;
        private Boolean delete = false;
        private Boolean pay = false;
        private Boolean comment = false;
        private Boolean confirm = false;
        private Boolean refund = false;
        private Boolean rebuy = false;
        private Boolean aftersale = false;
    }

    @NoArgsConstructor
    @Data
    public static class GoodsList {
        private Short number;
        private String picUrl;
        private BigDecimal price;
        private Integer id;
        private String goodsName;
        private String[] specifications;
    }
}
